.category-box {
  .edit-head {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #e5e5e5;

    .edit-head_left {
      flex: 1;
      font-size: 14px;

      .edit-head_intro {
        font-size: 10px;
        color: #909399;
        margin-left: 5px;
        font-weight: 300;
      }
    }

    .edit-head_right {
      .right-buttom {
        display: inline-block;
        font-size: 12px;
        color: #ffffff;
        background-color: #34bfa3;
        border: 1px solid #34bfa3;
        border-radius: 3px;
        padding: 8px 10px;
        cursor: pointer;
      }
    }
  }

  .edit-table {
    padding: 20px 0px;
    padding-left: 260px;
    padding-right: 20px;
  }

  .sale-intro {
    font-size: 11px;
    color: #737373;
    line-height: 20px;
    font-weight: 300;
  }

  .commodity-field {
    .field-ul {
      padding: 15px 20px;

      .field-li {
        display: flex;
        align-items: center;
        padding: 8px 0px;
        border-bottom: 1px solid #f4f5f8;

        .field-li_name {
          flex: 1;
          color: #606266;
        }

        .field-li_sort,
        .field-li_operate {
          width: 50px;
          color: #606266;
        }

        .field-li_sort {
          margin: 0px 10px;

          .el-input {
            width: 35px;
          }

          .el-input__inner {
            padding: 0px 5px;
          }
        }

        .operate-delete {
          display: inline-block;
          font-size: 10px;
          border-radius: 3px;
          color: #ffffff;
          background-color: red;
          padding: 5px 8px;
          cursor: pointer;
        }
      }

      .field-li:last-of-type {
        border-bottom: none;
      }
    }
  }
}

.right-buttom {
  display: inline-block;
  font-size: 12px;
  color: #ffffff;
  background-color: #34bfa3;
  border: 1px solid #34bfa3;
  border-radius: 3px;
  padding: 8px 10px;
  cursor: pointer;
}

.edit-foot {
  border-top: 1px solid #f4f5f8;
  display: flex;
  align-items: center;
  padding: 15px 0px;

  .edit-left {
    width: 250px;
  }

  .edit-foot_but {
    display: inline-block;
  }
}

.dialog-box {
  .el-dialog {
    height: 70vh;
    display: flex;
    flex-direction: column;

    .el-dialog__body {
      flex: 1;
      overflow: auto;
    }

    .el-dialog__body::-webkit-scrollbar {
      width: 4px;
    }

    .el-dialog__body::-webkit-scrollbar-thumb {
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.2);
    }

    .el-dialog__body::-webkit-scrollbar-track {
      border-radius: 0;
      background: rgba(0, 0, 0, 0.1);
    }

    .el-dialog__footer {
      border-top: 1px solid #f4f5f8;
    }
  }

  .scope-buttom {
    display: flex;
    align-items: center;

    div {
      font-size: 11px;
      cursor: pointer;
    }

    .but-one {
      color: #409eff;
      margin-right: 10px;
    }

    .but-two {
      color: red;
    }
  }

  .dialog-table {
    margin-top: 20px;
    padding-left: 170px;
    padding-right: 20px;
  }
}

.dialog-title {
  width: 96%;
  margin: 0 auto;
  height: 40px;
  line-height: 40px;
  padding-left: 30px;
  font-size: 14px;
  border-bottom: 1px solid #e5e5e5;
}
